package com.dalin.platform.glb.service;

import java.util.List;

import javax.jws.WebService;

import com.dalin.common.pager.PageInfo;
import com.dalin.platform.glb.condition.WsGlbAttachmentCondition;
import com.dalin.platform.glb.model.GlbAttachmentEntity;
import com.dalin.platform.glb.vo.WsGlbAttachmentIn;
import com.dalin.platform.glb.vo.WsGlbAttachmentOut;

@WebService
public interface WsGlbService {
	/**
	 * 获得组ID
	 */
	Long getNextGroupId() throws Exception;
	
	 /*************************************************************************
     * @content: 方法注释信息
     * @param  : WsGlbAttachmentCondition cond
     * @return : PageInfo
     * @author : 那建林
     * @crtDate: 2012-04-12 19:00:46
     * @modDate: 2012-04-12 19:00:46
     */
    PageInfo queryGlbAttachmentes(WsGlbAttachmentCondition cond) throws Exception;
    List<WsGlbAttachmentOut> queryGlbAttachmentesForList(WsGlbAttachmentCondition cond) throws Exception;

    /*************************************************************************
     * @content: 方法注释信息
     * @param  : Long id
     * @return : GlbAttachmentVo
     * @author : 那建林
     * @crtDate: 2012-04-12 19:00:46
     * @modDate: 2012-04-12 19:00:46
     */
    WsGlbAttachmentOut findGlbAttachmentById(Long id) throws Exception;

    /*************************************************************************
     * @content: 方法注释信息
     * @param  : GlbAttachmentVo vo
     * @return : void
     * @author : 那建林
     * @crtDate: 2012-04-12 19:00:46
     * @modDate: 2012-04-12 19:00:46
     */
    WsGlbAttachmentOut addGlbAttachment(WsGlbAttachmentIn vo) throws Exception;
    void addGlbAttachmentes(List<WsGlbAttachmentIn> list) throws Exception;

    /*************************************************************************
     * @content: 方法注释信息
     * @param  : GlbAttachmentVo vo
     * @return : void
     * @author : 那建林
     * @crtDate: 2012-04-12 19:00:46
     * @modDate: 2012-04-12 19:00:46
     */
    void modifyGlbAttachment(WsGlbAttachmentOut vo) throws Exception;
    void modifyGlbAttachmentes(List<WsGlbAttachmentOut> list) throws Exception;

    /*************************************************************************
     * @content: 方法注释信息
     * @param  : Long[] idArray
     * @return : void
     * @author : 那建林
     * @crtDate: 2012-04-12 19:00:46
     * @modDate: 2012-04-12 19:00:46
     */
    void delGlbAttachmentesByIds(Long[] idArray) throws Exception;
    void delGlbAttachmentesByGroupId(Long groupId) throws Exception;
}
